Fixes an issue where the addClipping modal would not close after completing the form.