making dialog icons theme-dependent