[#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 was getting a bit concerned about how big this PR's getting. The error is reported it's just not as specific as it should be.