justified the alert text on edit