Added Ajax support to Modals