Try send focus of it as well.

if does not work from OnBeforeShow, you will have to use OnShow unfortunately.