password an action

Hello, just thinking how i can set a password on some actions in my admin module(when an administrator click on the action a popup will show up for him to re-input his authentication password).

Just to put high security on those actions. (a like of linux ubuntu admin actions).

thanks

You can use a modal CJuiDialog with a form with the password field, at the begnninig of the action you check if the password supplied is correct or not.