Edit alert and output