Disable resize modal javascript.