(Fx_popup_dialog): If POSITION is t, use selected frame.