[#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.