modalwindow fix