Add autoCloseDisabled

Allow dialogs to stay open
I copied from opened. Since it's also a boolean, shouldn't it be written like that too?