added a method to get selected objects
done and cancel buttons in object select