Added notification to be able to detect modal closing