make modal animation run even at initial insertion