Follow-up to D29148: [KJotsWidget] Fix several KJotsEdit focus issues (race condition): fix compillation error, add couple more guards
(m_selectionModel was not removed everywhere)