can't we switch the div and the conditional? Why show an empty actions when someone cannot do anything?