Initial implementation of popup window