detail search open/close window