fixing more tests for modals