Made ajax load the success page for reports