Adds dragged views to the correspondent code view