Fix #107
Shows a message box when the user tries to close a requirement having an open sub-requirement and fix bugs associated with closing and reopening a requirement