modal now commits changes to persistence layer