improved drag and drop opening