The next/previous buttons in the card detail modal don't work as expected in the deck builder. When opening the modal via deck cards, the buttons do not show the next/previous cards in the deck. Instead, they show the card with the next card number (example: viewing ST7-01 and clicking next shows ST7-02). Sometimes the buttons don't work at all.
Additionally, the modal remembers the last card it showed.
Steps to reproduce:
Create a deck with ST7-01
Open the card modal on the deck side of the page using ST7-01
Click the next button to view ST7-02
Close the modal
Open the modal again
This modal will be showing ST7-02 instead of ST7-01 since it was showing ST7-02 when it was closed.
The next/previous buttons in the card detail modal don't work as expected in the deck builder. When opening the modal via deck cards, the buttons do not show the next/previous cards in the deck. Instead, they show the card with the next card number (example: viewing ST7-01 and clicking next shows ST7-02). Sometimes the buttons don't work at all.
Additionally, the modal remembers the last card it showed. Steps to reproduce: