Add close button in edit window.