Add esc key press
Update action button from dialog