Added Edit and Delete functions and window.