Added support for popover appearance.

Signed-off-by: Toby Herbert <tobyherbert@synappsdev.co.uk>