New module for dialogs

This commit introduces a new module for managing
other dialogs, and a cookie jar that is used to
keep the cookie that is retrieved from login.

The GUI was also changed in order to use the
new dialog for posting.
Small fixes to the cookie jar and the new sheet