removed modal function from save button