Wait for open promise before showing panel

Closes #285