close correct widget