I have a create/update component and I need to close it without confirmation modal in case if there are no changes by clicking close button or by clicking back button from the b