correct modal show bug