Trigger the blur event only if there is no selection