add login feature
hide modal after save.