Bug 920780 - Sidebars attach event emits when using show() even if the sidebar is already shown
Bug 920780 working around the race condition and making the test more reliable.
Merge pull request #1248 from erikvold/920780

Bug 920780 - Sidebars attach event emits when using show() even if the sidebar is already shown r=@zer0