added small modifications for full-screen modal