Added copy button to popup and context info to the error trace