LPS-39405 Wrong permission checking in add panel

Hey Julio,

I think my changes cover all possible conditions to display the add icon, the add panel and the tabs inside it. I've noticed some inconsistencies with the themeDisplay.layout null checking in portal code. I've created an internal thread to discuss it.

Thanks!