changed modal window structure