move debug section trigger to page footer and content to a modal