UI.popup: fixed popup loading on firefox