Added dialog popup window for clicking levels and fix run time error with WaveData page