Few bugfixes

codiad.editor.resize() is not working as I expected
Sidebar + Modal dialog fix
Context menu fix

Context menu will not go below bottom of screen
TODO: display menu above mouse when there is no space.
Context menu works

Works as it should.
Fix

Now menu takes care of offsets.
`Next time double check what you are commiting.`