Further improve modal animations