modal resizing issue fixed