adds shared/messages partial for notices and alerts