Add support for ref popup frame.