Disable modal form animation in test mode