edit script

place active dialog to front