Implemented last permission feature test
Incresed timeout for closing modal