Highdim fixes

Some fixes related to high dimensional popup window to get rid of blockers in survival analysis refactored and some code clean-ups.