Adding modal for invites
Fixing time_field bug with seconds and ms