change modal alert to inline alert in summary