Clicking outside of dialog now cancels