got the msg popup working