Use current element for widget