fix full screen modal issue