Modal animation fixes.