tweaks to detailed view - added esc key handling