Bug 1017276 - Do not close editing mode during animation. r=lucasr