Add save function without close script form