Open a dialog box

hi friends

anyone knows how to open a dialog box in the setup , as OTA does by asking for a the password?