modify upload component, add a close button and modify the control flow,
add flag editable api to the edittoolBar to control this status outside
the component.