Small refactor. Added modal directive and adapted the post page.
Other pages (post view, pomodoro, channel) still need to be adapted.