begin to create modal window