Implementing modal windows part 2

9e19c60dfa9c7bfab101bcce9c862ba2340d0e16