Make module editing and deleting work