suppor for callbacks on shown