fix warning select object type in modal #443