Updated preventNextCLick to prevent when full post back