add conditional widgets