Add initial support for popovers