now displays an alert box when posting is successful