new code for  in-app popups. Will use to add servers but not finished yet
haskell code to add servers, not called by QML yet