implemented crude drag/drop to create sample box