Add callback on dialog show