fix built line endings when running grunt on windows
reset popup state after running action