# Wijmo Olap with Modal Dialogs

This example shows how you can show the PivotPanel control on demand, in a Bootstrap modal dialog.

The PivotGrid below has its itemsSource property set to a PivotPanel control contained in a Bootstrap modal dialog.

The PivotPanel control is initialized as usual, but is not visible until you show the dialog by clicking one of the Configure Pivot View buttons below the grid.

## Wijmo Popup Dialog

Click this button to show a wijmo Popup modal dialog containing another PivotPanel control connected to the same PivotEngine as the panel hosted in the Boostrap modal above:

#### Configure Pivot View (Wijmo Popup)

## Bootstrap Modal Dialog

Or click this button to show a Bootstrap modal dialog containing the PivotPanel control being used as an itemsSource for the grid above:

#### Configure Pivot View (Bootstrap Modal)