Allowing "autoOpen: false" on modal dialogs