refactor context menu and modal
Merge pull request #5 from Hexlet/refactor_context_menu_and_modal

refactor context menu and modal