Alternative ajax try for modal loading