can't cancel to create relation by using esc key