The 2 flags are no different. The 2nd dialog is the exact dialog that close voters get to see. But in an effort to encourage flaggers to flag as duplicate, the flag dialog has a more prominent option for flagging as duplicate.
Someone mentioned this previously on MSE: New flagging dialog has a duplicate for duplicate
And I referenced it in my answer to Flagging hierarchy needs an overhaul
So why is duplicate duplicated in the flagging and close dialog
That was a design decision that the SE team made. First, clicking duplicate from the flag dialog is just a short cut to clicking "flag > closed for another reason > duplicate". Both lead to the same place.
This has been mentioned several times, but all of the duplicates point to New flagging dialog has a duplicate for duplicate. There isn't an answer or even a [status-*] tag, but my belief is that they chose to give duplicates a special place in the flagging dialog to highlight the duplicate option because the current preference is posts should be closed as a duplicate if one exists before any other close reason is used.
And even though they added it to the flag dialog, they can't remove it from the close dialog as users who enter the close dialog directly won't have an option to close a post as a duplicate.