Added Save functionality, removed unnecicary alerts and prompts.