Fixed minification issue with dialogs.