enhance modal
before ajax changes