2291249 Modal display

This throws 

> LogicException: You are not allowed to use js in #attached in drupal_process_attached()

Needs to be chnaged to drupalSettings. See https://www.drupal.org/node/2383115