Updated to clear the form message on actions