Resize the editor on modal resizin