Add autoCloseDisabled

Allow dialogs to stay open
Fixed both :)