toggle form when dropped component is clicked