[#79509870] Move and remove a module when creating

This works in a similar way to adding a module. The module is removed from the pending_dashboard in the session and the form is redisplayed.

This is #59 rebased on master.
I'm not really keen on new and edit being the same action. There has to be a better way to dry things up.