Applying CSS animation for Native Submission modal