Ugly fix for Bootstrap modal window in back end

When you close the modal window the styles get a bit ugly for a split of a second. 
It's a known issues and I'll take a look at it when I fix this bug properly in Code Base.