add generic popover for disabled apps

- add generic popover directive
- custom handling of display/hide

@seanbrookes please review