Dojo deletion code moved to new dojo controller