Implement popup options almost done.