Don't build preview unless pane is open