remove id default from opening model and template, set listener for sync