add a close button to the node properties