conditional panels synced with current tab
added diagnostics tab, still need to separate plots