move popwin to misc_ex