Fix bootstrap modal close animation