fixed bug in SelectParentContainerDialog: a selection was being reported after the cancel button was pressed