updated modal windows and added edit model