Bug1048416 -[Gallery]-Disable edit button to prevent edit while deleting item r=djf