remove custom dialog