Removed some functionality in popup.