OPAL-1749: Setting script to "null" when there is no script attribute for a variable and showing the edit button