make dashed line solid when user is finished clicking