modal window UI fixes