Fixed refactor bug.
The function normalPopClosePage needed a return true at the end.