handle inline modal success