Add autoform for modals