Add a modal effect when performing ajax