Added alert status control in the edit alert view.  also fixed a small bug