"SAVE" Button in Dialog box

Hi, every body,

Can someone help me with this, please?

I need to create an “ACTION Button”

inside this action will be a button called “Reject”

If the user clicked the “Reject” button, this will show a popup window that contains fields: for example a “text field” to mandatory filld by user

after the user finished writing his text, he will click the “SAVE” button that inside this “Dialog Box”

THE question is: How to make a dialog box with a save button inside, that will be popup after clicking that Action Button?

Thx in advance,