Fixed opening on cancel bug.