Modal fade working completely in correct sequence