updated smart image to work in dialogfieldset