implement bare minimum so that close button is implemented on object selection window, partial fix for #433