Could we not do it on the `shown` event only then?