make belongsTo modal work