Remove modal before doing local ajax request