Dismiss Visual Editor modal before undoing lexeme changes
Bug: T201901 Change-Id: I6b51cb15e1cd4276c52ac8038a965609a2fc06b7