modal window fixes