added listeners and method stubs to post popup