Bug 1042319 - [Gallery] Update gallery edit UI r=djf

Updated to use onCancelButton.