LPS-38647 Don't add footer for ajax request