fixed confirmation modal window bug