Do some checks before adding a new sidebar.
Do some checks before adding a new sidebar.