TW-29385 1) Added proper regex validation of the fields in dialogs
2) Added restrictions on shared resources names