create concept of modal window ; add events to show and hide modal window