Fixes condition for empty selection externalization
Fixes validation of opened editor after F3 was pressed