* Fix condition that would rarely cause dialogs to not open properly (dialog wasn't getting destroyed before being replaced)