Added automatic saving in Mockup.