[V2S2 US58618350] Permissions management :  open confirm window if forms are dirty and user has permission to edit it
[Finishes #58618350]