Fixed a bug with firing the dialog on Esc key press. Analytics for options saving event.