Add support for action upon hover and <space> for realm elements.