implements select window

A message box is also shown on triggering this action from the menu bar.