Gantt project lightbox defaults to task type


When adding a new task the gantt, it defaults to ‘task’ type which is fine:

if I change it to ‘project’ then the lightbox adapts as expected but the type is still ‘task’, meaning the I must re-select ‘project’ again or if I don’t notice then a task item is inadvertently created - surely this isn’t correct?