Fixes issue where modal flickers when closing when using fade-in/fade-out animation, 500 ms delay wasn't enough so changed to 320 ms
Merge pull request #1917 from schmoofer/master

fix(modal): eliminate flicker when using fade-in/out animation style