applied timeout to modal actions for resetpassword

applied timeout to modal actions for resetpassword