Fixing close deployment modal