Added functionality for modal window closes tkiddle/splashMe#6