Quick fix for the modal window with small screen

Refs #561