Fixing popover bug, adding titles to buttons.

I wanted to merge this in now so Pratik can continue to use the UI testing framework.