Update selection restore logic in popup for IE11. bugid:110582 bugid:110584
Avoid an error while doing "Toggle HTML Edit Mode". bugid:110642
Fallback to the empty string if no content is given. bugid:110643