closing behavior fixed
drag and drop implemented