Prevented crash on open dialog cancelation