+create_popup_win(TodoItem* item_info)
+{
+ int maxheight, maxwidth;
+ WINDOW* popup_win;
+
+ getmaxyx(stdscr, maxheight, maxwidth);
+ popup_win = newwin(
+ maxheight-2*POPUP_BORDER,
+ maxwidth-2*2*POPUP_BORDER,
+ POPUP_BORDER,
+ POPUP_BORDER*2
+ );
+ box(popup_win, 0, 0);
+
+ refresh();
+ wrefresh(popup_win);
+
+ return popup_win;
+}
+
+/* this is copy paste of other, prob abstract */
+MenuItem**
+subtasklist_to_menuitem(SubTask** subtask_list, int list_length)