fix for modal window not showing.