Improve file-button and add function to delete elements dragged outside the form