Implemented New button and save check dialog