added show handler for modal