Angular 5 Compatibility problem with Microsoft Edge

Hello friends. since i’m new here, i would like to say hello to everyone and i wish that anyone can help me with my problem
In fact, i’m working with angular 5 and i have an issue with microsoft Edge browser, whenever i click on confirm button in a popup dialog, instead of executing the action (which needs to perform a call to the backend and save some data in th e DB) the page is reloaded and it returns me to the homepage without saving any of my data, this problem is only with microsoft Edge and especially when validating an action in a popup dialog

Did you specify type for the button? If not Edge might consider "submit" as default type and hence the unwanted reload - to fix it use type="button"