 	m = showNotification "pressed : #{ combo } : remove forms ", "warning"
 	console.log "pressed escape"
 
-	$('#new_bit').remove()
+	root.remove("#new_bit")
+	
 
 	# assuming only one at a time
 	# TODO: test


	editing_bit_id = $('.editing').attr('id').split('_')[1]
	console.log "editing_bit_id: #{ editing_bit_id }"
	$('.editing').remove()
	$("#data .cluster").append( $('<div>').load("/bits/#{ editing_bit_id }") )

	e.preventDefault()




root.remove = (thingToDelete) ->
	$(thingToDelete).fadeOut 300, ->

		root.remove(this)



root.deleteBit = ->
