MDL-44810 editor_atto: restore selection after button press

Fixed issue where clicking on buttons erroneously lost viewport focus and selection.