Don't try inherit private state from already closed opener window
Use "Reopen window" from https://github.com/Infocatcher/Custom_Buttons/tree/master/Extensions_Developer_Tools to get this error