Added an alert box that shows a message once the resignation link is clicked and the petition is handled.