This repository was archived by the owner on Feb 18, 2024. It is now read-only.

Description
Currently there is an option for closing the Edit dialog if the background is clicked on (the clickOutsideToClose option), but the data is not saved, however I need to create a behavior, where the same event happens, but the input data is actually submitted. Since the actual submission logic is inside the controllers preset function, I would like to know if there is any way to call it in the clickOutsideToClose if block. I am not exactly experienced with Angular just yet.