only update UI if widgets are open