#3396703: Improve logic to handle cookies and limit how many times the behavior is attached.
- Replace cookie checks with js-cookie from core
- Added cookie when agreeing to disclaimer
- Added once to avoid multiple attachments during page life
- Doing swap if no disclaimer text is set