Changes RTE to close the annotation dialog when the composer is in focus.