Fixed popups so that sending messages now works.