Codes and attributes can be added only when user has the permissions
Fade animation is anymore activated if the component is already visible
or hidden